package com.lanchuan.soft.dao;

import com.lanchuan.soft.entity.Event;
import com.lanchuan.soft.entity.ParamEvent;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IEventDao {

    int create(Event event);

    int update(ParamEvent paramEvent);

    int delete(ParamEvent paramEvent);

    Event findByCondition(ParamEvent paramEvent);

    List<Event> findPagingListByCondition(ParamEvent paramEvent);

    int findCountByCondition(ParamEvent paramEvent);
}
